package com.ibeetl.cms.web.query;

import com.ibeetl.admin.core.annotation.Query;
import com.ibeetl.admin.core.web.query.PageParam;

import java.util.Date;
/**
 *CoreArticle查询
 */
public class ArticleQuery extends PageParam {
    @Query(name = "id", display = true)
    private Integer id;
    @Query(name = "title", display = true)
    private String title;
    @Query(name="所属栏目",display=true,type=Query.TYPE_CONTROL,control="catalog")
    private Long catalogId;
    @Query(name = "content", display = true)
    private String content;
    @Query(name = "url", display = true)
    private String url;
    @Query(name = "createTime", display = true)
    private Date createTime;
    @Query(name = "attr1", display = true)
    private String attr1;
    @Query(name = "attr2", display = true)
    private String attr2;
    @Query(name = "attr3", display = true)
    private String attr3;
    @Query(name = "关键字", display = true)
    private String keywords;
    @Query(name = "描述", display = true)
    private String description;
    @Query(name = "发布时间", display = true,type=Query.TYPE_DATE_BETWEEN)
    private String showTime;
    private Date showTimeStart;
    private Date showTimeEnd;
    private String tagValue;
    private Boolean top;
    private String orderby;
    private String memberId;
    private String userId;
    public Integer getId(){
        return  id;
    }
    public void setId(Integer id ){
        this.id = id;
    }
    public String getTitle(){
        return  title;
    }
    public void setTitle(String title ){
        this.title = title;
    }

    public Long getCatalogId() {
		return catalogId;
	}
	public void setCatalogId(Long catalogId) {
		this.catalogId = catalogId;
	}
	public String getContent(){
        return  content;
    }
    public void setContent(String content ){
        this.content = content;
    }
    public String getUrl(){
        return  url;
    }
    public void setUrl(String url ){
        this.url = url;
    }
    public Date getCreateTime(){
        return  createTime;
    }
    public void setCreateTime(Date createTime ){
        this.createTime = createTime;
    }
    public String getAttr1(){
        return  attr1;
    }
    public void setAttr1(String attr1 ){
        this.attr1 = attr1;
    }
    public String getAttr2(){
        return  attr2;
    }
    public void setAttr2(String attr2 ){
        this.attr2 = attr2;
    }
    public String getAttr3(){
        return  attr3;
    }
    public void setAttr3(String attr3 ){
        this.attr3 = attr3;
    }
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getShowTime() {
		return showTime;
	}
	public void setShowTime(String showTime) {
		this.showTime = showTime;
	}
	public String getOrderby() {
		return orderby;
	}
	public void setOrderby(String orderby) {
		this.orderby = orderby;
	}
	public Date getShowTimeStart() {
		return showTimeStart;
	}
	public void setShowTimeStart(Date showTimeStart) {
		this.showTimeStart = showTimeStart;
	}
	public Date getShowTimeEnd() {
		return showTimeEnd;
	}
	public void setShowTimeEnd(Date showTimeEnd) {
		this.showTimeEnd = showTimeEnd;
	}

    public String getTagValue() {
        return tagValue;
    }

    public void setTagValue(String tagValue) {
        this.tagValue = tagValue;
    }

    public Boolean getTop() {
        return top;
    }

    public void setTop(Boolean top) {
        this.top = top;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "ArticleQuery{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", catalogId=" + catalogId +
                ", content='" + content + '\'' +
                ", url='" + url + '\'' +
                ", createTime=" + createTime +
                ", attr1='" + attr1 + '\'' +
                ", attr2='" + attr2 + '\'' +
                ", attr3='" + attr3 + '\'' +
                ", keywords='" + keywords + '\'' +
                ", description='" + description + '\'' +
                ", showTime='" + showTime + '\'' +
                ", showTimeStart=" + showTimeStart +
                ", showTimeEnd=" + showTimeEnd +
                ", tagValue='" + tagValue + '\'' +
                ", top=" + top +
                ", orderby='" + orderby + '\'' +
                '}';
    }
}
